package com.by.service.impl;

import com.by.entity.OrderAddr;
import com.by.mapper.OrderAddrMapper;
import com.by.service.OrderAddrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderAddrServiceImpl implements OrderAddrService {
    @Autowired
    OrderAddrMapper orderAddrMapper;
    @Override
    public boolean saveOrderAddr(OrderAddr orderAddr) {
        int i = orderAddrMapper.insert(orderAddr);
        if(i!=0){
            return true;
        }
        return false;
    }
}
